/*
    放vant按需导入的组件
*/
//导入vue
import Vue from 'vue'

//导入需要用的vant的组件  (登录)
import { Button, NavBar, Field, CellGroup, Form, Toast } from 'vant'

//使用组件
Vue.use(Button)
Vue.use(NavBar)
Vue.use(Field)
Vue.use(CellGroup)
Vue.use(Form)
Vue.use(Toast)

//(layout布局)
import { Tabbar, TabbarItem } from 'vant'
Vue.use(Tabbar)
Vue.use(TabbarItem)

//user
import {
  Image as VanImage,
  Tag,
  Col,
  Row,
  Icon,
  Cell,
  Dialog,
  Popup,
  DatetimePicker,
  Uploader
} from 'vant'
Vue.use(VanImage)
Vue.use(Tag)
Vue.use(Col)
Vue.use(Row)
Vue.use(Icon)
Vue.use(Cell)
Vue.use(Dialog)
Vue.use(Popup)
Vue.use(DatetimePicker)
Vue.use(Uploader)
